<?php


namespace app\common\model;


use think\Model;

class Member extends Model
{
 protected $pk='memid';

 function cards(){
     return $this->hasOne('Cards','memid','memid')->bind('card_no');
 }
}